\hypertarget{class_yig_network_channel}{
\section{YigNetworkChannel Class Reference}
\label{class_yig_network_channel}\index{YigNetworkChannel@{YigNetworkChannel}}
}


{\ttfamily \#include $<$yignetworkchannel.h$>$}

\subsection*{Public Slots}
\begin{DoxyCompactItemize}
\item 
void \hyperlink{class_yig_network_channel_ad59a06322442a3552ee888e5ab6a2f8c}{createGroups} ()
\item 
void \hyperlink{class_yig_network_channel_adf1d7621314115401394c55607a9df38}{requestCreateSynth} (QString userName, QString synthName, QPoint point)
\item 
void \hyperlink{class_yig_network_channel_a0024e1b159b314e785966ccbd2614254}{createSynthObject} (QString userName, QString synthName, QPoint point)
\item 
void \hyperlink{class_yig_network_channel_a33ee1e4119b0ff0ec572e3435e1a2652}{requestDestroySynth} (QString key)
\item 
void \hyperlink{class_yig_network_channel_ac800644f2c22f3d20e572d041032ed06}{destroySynthObject} (QString key)
\item 
void \hyperlink{class_yig_network_channel_ac946b369f529023cd8a424611f18d3e2}{createCableObject} (QString mapKey, QString inputKey, QString outputKey, \hyperlink{class_yig_cable_graphic_af184598588b32de1439cc157858141db}{YigCableGraphic::CableOutputType} outputType)
\item 
void \hyperlink{class_yig_network_channel_a927ce727cbeb49dced3dc0045d686231}{destroyCableObject} (QString mapKey)
\end{DoxyCompactItemize}
\subsection*{Signals}
\begin{DoxyCompactItemize}
\item 
void \hyperlink{class_yig_network_channel_a0aa23c7180790eefeba7056165de34a1}{synthCreated} (\hyperlink{class_yig_synth}{YigSynth} $\ast$yigSynth, QString mapKey, QString synthName, QPoint point)
\item 
void \hyperlink{class_yig_network_channel_ad0d816b2feda08de60f37e87f1e75cc4}{synthDestroyed} (QString)
\end{DoxyCompactItemize}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{class_yig_network_channel_a3de4503a5eab985929b41d97788a1561}{YigNetworkChannel} (int channelID, \hyperlink{class_yig}{Yig} $\ast$yig, \hyperlink{class_s_c_lang}{SCLang} $\ast$scLang)
\item 
\hyperlink{class_yig_network_channel_a20bc41278afc259a83b4df1afed40146}{$\sim$YigNetworkChannel} ()
\item 
int \hyperlink{class_yig_network_channel_ab3c0062c959a784b5b6b852f789094cf}{getChannelID} ()
\end{DoxyCompactItemize}


\subsection{Detailed Description}
\hyperlink{class_yig_network_channel}{YigNetworkChannel} definines the seperate spaces for users to work in independantly or as a group. 

\subsection{Constructor \& Destructor Documentation}
\hypertarget{class_yig_network_channel_a3de4503a5eab985929b41d97788a1561}{
\index{YigNetworkChannel@{YigNetworkChannel}!YigNetworkChannel@{YigNetworkChannel}}
\index{YigNetworkChannel@{YigNetworkChannel}!YigNetworkChannel@{YigNetworkChannel}}
\subsubsection[{YigNetworkChannel}]{\setlength{\rightskip}{0pt plus 5cm}YigNetworkChannel::YigNetworkChannel (int {\em channelID}, \/  {\bf Yig} $\ast$ {\em yig}, \/  {\bf SCLang} $\ast$ {\em scLang})}}
\label{class_yig_network_channel_a3de4503a5eab985929b41d97788a1561}
\hyperlink{class_yig_network_channel}{YigNetworkChannel} Constructor 
\begin{DoxyParams}{Parameters}
\item[{\em Yig$\ast$}]yig pointer to the current instance of the main \hyperlink{class_yig}{Yig} class \item[{\em int}]Id Number for this channel \end{DoxyParams}
\hypertarget{class_yig_network_channel_a20bc41278afc259a83b4df1afed40146}{
\index{YigNetworkChannel@{YigNetworkChannel}!$\sim$YigNetworkChannel@{$\sim$YigNetworkChannel}}
\index{$\sim$YigNetworkChannel@{$\sim$YigNetworkChannel}!YigNetworkChannel@{YigNetworkChannel}}
\subsubsection[{$\sim$YigNetworkChannel}]{\setlength{\rightskip}{0pt plus 5cm}YigNetworkChannel::$\sim$YigNetworkChannel ()}}
\label{class_yig_network_channel_a20bc41278afc259a83b4df1afed40146}
\hyperlink{class_yig_network_channel}{YigNetworkChannel} Deconstructor 

\subsection{Member Function Documentation}
\hypertarget{class_yig_network_channel_ac946b369f529023cd8a424611f18d3e2}{
\index{YigNetworkChannel@{YigNetworkChannel}!createCableObject@{createCableObject}}
\index{createCableObject@{createCableObject}!YigNetworkChannel@{YigNetworkChannel}}
\subsubsection[{createCableObject}]{\setlength{\rightskip}{0pt plus 5cm}void YigNetworkChannel::createCableObject (QString {\em mapKey}, \/  QString {\em inputKey}, \/  QString {\em outputKey}, \/  {\bf YigCableGraphic::CableOutputType} {\em outputType})\hspace{0.3cm}{\ttfamily  \mbox{[}slot\mbox{]}}}}
\label{class_yig_network_channel_ac946b369f529023cd8a424611f18d3e2}
createCableObject slot called when the user has created a new cable between two synths 
\begin{DoxyParams}{Parameters}
\item[{\em QString}]mapKey The network channel view map key for this cable \item[{\em QString}]inputKey the map key for the synth that BEGINS the cable \item[{\em CableOutputType}]outputKey the map key for the synth that ENDS the cable \item[{\em QString}]outputType the type of output for the cable, either NO\_\-OUTPUT, AUDIO, or MODULATION \end{DoxyParams}
\hypertarget{class_yig_network_channel_ad59a06322442a3552ee888e5ab6a2f8c}{
\index{YigNetworkChannel@{YigNetworkChannel}!createGroups@{createGroups}}
\index{createGroups@{createGroups}!YigNetworkChannel@{YigNetworkChannel}}
\subsubsection[{createGroups}]{\setlength{\rightskip}{0pt plus 5cm}void YigNetworkChannel::createGroups ()\hspace{0.3cm}{\ttfamily  \mbox{[}slot\mbox{]}}}}
\label{class_yig_network_channel_ad59a06322442a3552ee888e5ab6a2f8c}
creates the synthGroup and cableGroup nodes on the sc synth server \hypertarget{class_yig_network_channel_a0024e1b159b314e785966ccbd2614254}{
\index{YigNetworkChannel@{YigNetworkChannel}!createSynthObject@{createSynthObject}}
\index{createSynthObject@{createSynthObject}!YigNetworkChannel@{YigNetworkChannel}}
\subsubsection[{createSynthObject}]{\setlength{\rightskip}{0pt plus 5cm}void YigNetworkChannel::createSynthObject (QString {\em userName}, \/  QString {\em synthName}, \/  QPoint {\em point})\hspace{0.3cm}{\ttfamily  \mbox{[}slot\mbox{]}}}}
\label{class_yig_network_channel_a0024e1b159b314e785966ccbd2614254}
createSynthObject Called after drag/drop in the gui 
\begin{DoxyParams}{Parameters}
\item[{\em QString}]Key map key for the new synth WILL BE KEY IN THE FUTURE \item[{\em QPoint}]point Where the synth is being created in the gui. \item[{\em QString}]synthName name of the synth type used to create the object. \end{DoxyParams}
\hypertarget{class_yig_network_channel_a927ce727cbeb49dced3dc0045d686231}{
\index{YigNetworkChannel@{YigNetworkChannel}!destroyCableObject@{destroyCableObject}}
\index{destroyCableObject@{destroyCableObject}!YigNetworkChannel@{YigNetworkChannel}}
\subsubsection[{destroyCableObject}]{\setlength{\rightskip}{0pt plus 5cm}void YigNetworkChannel::destroyCableObject (QString {\em mapKey})\hspace{0.3cm}{\ttfamily  \mbox{[}slot\mbox{]}}}}
\label{class_yig_network_channel_a927ce727cbeb49dced3dc0045d686231}
destroyCableObject slot called when the user has deleted a cable, directly or indirectly 
\begin{DoxyParams}{Parameters}
\item[{\em QString}]mapKey The network channel view map key for this cable \end{DoxyParams}
\hypertarget{class_yig_network_channel_ac800644f2c22f3d20e572d041032ed06}{
\index{YigNetworkChannel@{YigNetworkChannel}!destroySynthObject@{destroySynthObject}}
\index{destroySynthObject@{destroySynthObject}!YigNetworkChannel@{YigNetworkChannel}}
\subsubsection[{destroySynthObject}]{\setlength{\rightskip}{0pt plus 5cm}void YigNetworkChannel::destroySynthObject (QString {\em key})\hspace{0.3cm}{\ttfamily  \mbox{[}slot\mbox{]}}}}
\label{class_yig_network_channel_ac800644f2c22f3d20e572d041032ed06}
destroySynthObject Delete a synth from the gui, removing it from the necessary maps and deleting it 
\begin{DoxyParams}{Parameters}
\item[{\em QString}]key The map key for the synth object, so we can correctly identify it \end{DoxyParams}
\hypertarget{class_yig_network_channel_ab3c0062c959a784b5b6b852f789094cf}{
\index{YigNetworkChannel@{YigNetworkChannel}!getChannelID@{getChannelID}}
\index{getChannelID@{getChannelID}!YigNetworkChannel@{YigNetworkChannel}}
\subsubsection[{getChannelID}]{\setlength{\rightskip}{0pt plus 5cm}int YigNetworkChannel::getChannelID ()}}
\label{class_yig_network_channel_ab3c0062c959a784b5b6b852f789094cf}
Get the id of this channel instance \begin{DoxyReturn}{Returns}
int The ChannelID 
\end{DoxyReturn}
\hypertarget{class_yig_network_channel_adf1d7621314115401394c55607a9df38}{
\index{YigNetworkChannel@{YigNetworkChannel}!requestCreateSynth@{requestCreateSynth}}
\index{requestCreateSynth@{requestCreateSynth}!YigNetworkChannel@{YigNetworkChannel}}
\subsubsection[{requestCreateSynth}]{\setlength{\rightskip}{0pt plus 5cm}void YigNetworkChannel::requestCreateSynth (QString {\em userName}, \/  QString {\em synthName}, \/  QPoint {\em point})\hspace{0.3cm}{\ttfamily  \mbox{[}slot\mbox{]}}}}
\label{class_yig_network_channel_adf1d7621314115401394c55607a9df38}
requestCreateSynth Called after drag/drop in the gui to request the server to create a synth 
\begin{DoxyParams}{Parameters}
\item[{\em QString}]userName Name of the user who created the synth, used for the mapKey generation \item[{\em QPoint}]point Where the synth is being created in the gui. \item[{\em QString}]synthName name of the synth type used to create the object. \end{DoxyParams}
\hypertarget{class_yig_network_channel_a33ee1e4119b0ff0ec572e3435e1a2652}{
\index{YigNetworkChannel@{YigNetworkChannel}!requestDestroySynth@{requestDestroySynth}}
\index{requestDestroySynth@{requestDestroySynth}!YigNetworkChannel@{YigNetworkChannel}}
\subsubsection[{requestDestroySynth}]{\setlength{\rightskip}{0pt plus 5cm}void YigNetworkChannel::requestDestroySynth (QString {\em key})\hspace{0.3cm}{\ttfamily  \mbox{[}slot\mbox{]}}}}
\label{class_yig_network_channel_a33ee1e4119b0ff0ec572e3435e1a2652}
requestDestroySynth Request from server to delete a synth from the gui, removing it from the necessary maps and deleting it 
\begin{DoxyParams}{Parameters}
\item[{\em QString}]key The map key for the synth object, so we can correctly identify it \end{DoxyParams}
\hypertarget{class_yig_network_channel_a0aa23c7180790eefeba7056165de34a1}{
\index{YigNetworkChannel@{YigNetworkChannel}!synthCreated@{synthCreated}}
\index{synthCreated@{synthCreated}!YigNetworkChannel@{YigNetworkChannel}}
\subsubsection[{synthCreated}]{\setlength{\rightskip}{0pt plus 5cm}void YigNetworkChannel::synthCreated ({\bf YigSynth} $\ast$ {\em yigSynth}, \/  QString {\em mapKey}, \/  QString {\em synthName}, \/  QPoint {\em point})\hspace{0.3cm}{\ttfamily  \mbox{[}signal\mbox{]}}}}
\label{class_yig_network_channel_a0aa23c7180790eefeba7056165de34a1}
synthCreated emitted when something has created a new synth in the network or locally 
\begin{DoxyParams}{Parameters}
\item[{\em YigSynth$\ast$}]pointer to the yigSynth that was created \item[{\em QString}]the map key of the new synth object \item[{\em QString}]the synthName of the new object \item[{\em QPoint}]the location of the new object \end{DoxyParams}
\hypertarget{class_yig_network_channel_ad0d816b2feda08de60f37e87f1e75cc4}{
\index{YigNetworkChannel@{YigNetworkChannel}!synthDestroyed@{synthDestroyed}}
\index{synthDestroyed@{synthDestroyed}!YigNetworkChannel@{YigNetworkChannel}}
\subsubsection[{synthDestroyed}]{\setlength{\rightskip}{0pt plus 5cm}void YigNetworkChannel::synthDestroyed (QString)\hspace{0.3cm}{\ttfamily  \mbox{[}signal\mbox{]}}}}
\label{class_yig_network_channel_ad0d816b2feda08de60f37e87f1e75cc4}
synthDestroyed emitted when a synth has been destroyed in the network or locally 
\begin{DoxyParams}{Parameters}
\item[{\em QString}]the map key of the deleted synth object \end{DoxyParams}


The documentation for this class was generated from the following files:\begin{DoxyCompactItemize}
\item 
interface/channel/yignetworkchannel.h\item 
interface/channel/yignetworkchannel.cpp\end{DoxyCompactItemize}
